
:host {
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  margin: 0;

  @keyframes fillup {
    from {
      background-position-x: 200%;
    }
    to {
      background-position-x: 0;
    }
  }

  @keyframes fadein {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  h1 {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--my-primary-color);
    font-size: 12rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: -0.5rem;
    position: relative;
    background-image: linear-gradient(to right, var(--my-primary-color), var(--my-primary-color), transparent);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position-x: 200%;
    animation: 3s fillup ease-in-out 2s forwards;

    &::after {
      content: "Welcome";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      -webkit-text-stroke-color: white;
      -webkit-text-fill-color: transparent;
      opacity: 0;
      animation: 2s fadein ease-in-out forwards;
    }
  }
}

@media screen and (max-width: 40rem) {
  :host {
    h1 {
      font-size: 8rem;
    }
  }
}
